.Net Framework > v1.1.4322 > System > Windows > Forms > Menu > MenuItemCollection > Add Add(Int32,MenuItem)
Add(String)
Add(String,EventHandler)
Add(String,MenuItem[])
Add(MenuItem)


Add(Int32,MenuItem)

Category
Method
Description
Adds a previously created System.Windows.Forms.MenuItem at the specified index within the menu item collection.
Type
Int32
Character
public
Parameters
NameTypeDescription
indexInt32
itemMenuItem
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

Add(String)

Category
Method
Description
Adds a new System.Windows.Forms.MenuItem, to the end of the current menu, with a specified caption.
Type
MenuItem
Character
public
Parameters
NameTypeDescription
captionString
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

Add(String,EventHandler)

Category
Method
Description
Adds a new System.Windows.Forms.MenuItem to the end of the current menu with a specified caption and a specified event handler for the System.Windows.Forms.MenuItem.Click event.
Type
MenuItem
Character
public
Parameters
NameTypeDescription
captionString
onClickEventHandler
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

Add(String,MenuItem[])

Category
Method
Description
Adds a new System.Windows.Forms.MenuItem to the end of this menu with the specified caption, System.Windows.Forms.MenuItem.Click event handler, and items.
Type
MenuItem
Character
public
Parameters
NameTypeDescription
captionString
itemsMenuItem[]
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

Add(MenuItem)

Category
Method
Description
Adds a previously created System.Windows.Forms.MenuItem to the end of the current menu.
Type
Int32
Character
public
Parameters
NameTypeDescription
itemMenuItem
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database